/*
 * @Author: jiu yin
 * @Date: 2023-04-27 14:23:19
 * @LastEditTime: 2023-06-02 14:28:57
 * @LastEditors: jiu yin zhen jing
 * @FilePath: \AI admin\src\main.tsx
 * jiu
 */
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'

import { store, persistor } from '@/redux'
import { Provider } from 'react-redux'
import { PersistGate } from 'redux-persist/integration/react';
import "@/i18n"


ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  // <React.StrictMode>
  <Provider store={store}>
    <PersistGate loading={null} persistor={persistor}>
      <App />
    </PersistGate>
  </Provider>
  // </React.StrictMode>,
)
